home *** CD-ROM | disk | FTP | other *** search
- Path: newshost.lanl.gov!tanmoy
- From: tanmoy@qcd.lanl.gov (Tanmoy Bhattacharya)
- Newsgroups: comp.lang.c
- Subject: Re: passing arguments to main()
- Date: 06 Mar 1996 14:36:58 GMT
- Organization: Los Alamos National Laboratory
- Message-ID: <TANMOY.96Mar6073658@qcd.lanl.gov>
- References: <4h78t1$nqq@netnews.upenn.edu> <4h7ql8$4rs@news.microsoft.com>
- <4hiqms$kg2@mother.usf.edu>
- NNTP-Posting-Host: qcd.lanl.gov
- Mime-Version: 1.0
- Content-Type: text
- In-reply-to: "Thomas Sanidas's message of 6 Mar 1996 01:45:00 GMT
-
- In article <4hiqms$kg2@mother.usf.edu>
- "Thomas Sanidas (BIO)" <sanidas> writes:
-
- <snip>
- B: main(int argc, char* argv[])
- B: {
- B: /*C code here*/
- B:
- B: return;
-
- Please use `return 0;' instead if you mean that the program terminated
- successfully if it reaches this point.
-
- B: }
-
- Cheers
- Tanmoy
- --
- tanmoy@qcd.lanl.gov(128.165.23.46) DECNET: BETA::"tanmoy@lanl.gov"(1.218=1242)
- Tanmoy Bhattacharya O:T-8(MS B285)LANL,NM87545 H:#9,3000,Trinity Drive,NM87544
- Others see <gopher://yaleinfo.yale.edu:7700/00/Internet-People/internet-mail>,
- <http://alpha.acast.nova.edu/cgi-bin/inmgq.pl>or<ftp://csd4.csd.uwm.edu/pub/
- internetwork-mail-guide>. -- <http://nqcd.lanl.gov/people/tanmoy/tanmoy.html>
- fax: 1 (505) 665 3003 voice: 1 (505) 665 4733 [ Home: 1 (505) 662 5596 ]
-